package com.edu.entity;

public class ContentVote {

	int contentVoteId;
	int commentId;
	int userid;
	int voteType;
	public int getContentVoteId() {
		return contentVoteId;
	}
	public void setContentVoteId(int contentVoteId) {
		this.contentVoteId = contentVoteId;
	}
	public int getCommentId() {
		return commentId;
	}
	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public int getVoteType() {
		return voteType;
	}
	public void setVoteType(int voteType) {
		this.voteType = voteType;
	}
	public ContentVote(int commentId, int userid, int voteType) {
		super();
		this.commentId = commentId;
		this.userid = userid;
		this.voteType = voteType;
	}
	public ContentVote() {
		super();
	}
	@Override
	public String toString() {
		return "ContentVote [contentVoteId=" + contentVoteId + ", commentId=" + commentId + ", userid=" + userid
				+ ", voteType=" + voteType + "]";
	}
	
}
